package com.ruoyi.platform.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 m_attachment
 * 
 * @author dataControl
 * @date 2025-09-15
 */
public class MAttachment extends BaseEntity
{

    /** 系统编号 */
    private String attachmentId;

    /** 业务ID */
    @Excel(name = "业务ID")
    private String businessId;

    /** 附件类型 */
    @Excel(name = "附件类型")
    private Long attachmentType;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String filePath;

    /** 是否已删除(逻辑删除) */
    private Long delFlag;

    public void setAttachmentId(String attachmentId) 
    {
        this.attachmentId = attachmentId;
    }

    public String getAttachmentId() 
    {
        return attachmentId;
    }

    public void setBusinessId(String businessId) 
    {
        this.businessId = businessId;
    }

    public String getBusinessId() 
    {
        return businessId;
    }

    public void setAttachmentType(Long attachmentType) 
    {
        this.attachmentType = attachmentType;
    }

    public Long getAttachmentType() 
    {
        return attachmentType;
    }

    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }

    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attachmentId", getAttachmentId())
            .append("businessId", getBusinessId())
            .append("attachmentType", getAttachmentType())
            .append("fileName", getFileName())
            .append("filePath", getFilePath())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
